//Created by DevilsEyes on 2016/2/13.
//      ====================
//           初始化数据库
//      ====================

'use strict';
var config = require('./../unit/config.js');
var mongoose = require('mongoose');

//连接数据库
mongoose.connect('mongodb://localhost/Crawler');

exports.mongoose = mongoose;